package com.model;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 面试表
 * </p>
 *
 * @author Damon
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Interview implements Serializable {

    private static final long serialVersionUID=1L;

    public Interview(String id, String userid, String postid, Integer status, String createdTime, String updatedTime, Boolean isdelete) {
        this.id = id;
        this.userid = userid;
        this.postid = postid;
        this.status = status;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
        this.isdelete = isdelete;
    }

    /**
     * 面试表ID
     */
    @TableId
    private String id;

    /**
     * 用户ID
     */
    private String userid;

    /**
     * 投递岗位ID
     */
    private String postid;

    /**
     * 状态 0-已投递 1-企业已查看 2-企业邀请 3-企业拒绝 4-面试 5-结束
     */
    private Integer status;

    /**
     * 创建时间 创建时间
     */
    private String createdTime;

    /**
     * 更新时间 更新时间
     */
    private String updatedTime;

    /**
     * 逻辑删除 0-正常 1- 删除
     */
    private Boolean isdelete;

    public Interview(Integer status){
        this.status = status;
    }


    public Interview(String userid){

        this.userid = userid;
    }
}

